package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.Orders;

import java.util.List;

public interface DishService extends IService<Dish>{
/*
* 保存菜品的基本信息及其口味信息
*
* */
    public void savaDishFlavors(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);

    public void updateWithFlavor(DishDto dishDto);

    public void updateStatus(Integer status, List<Long> ids);

    public void removeWithFlavors(List<Long> ids);
}
